<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%
	pageContext.setAttribute("basePath",request.getContextPath());
%>
<!DOCTYPE html>
<html lang="zh">
<head>
	<meta charset="utf-8">
	<meta name="viewport" content="width=device-width, initial-scale=1.0">
	<title>用户详细</title>
	<link rel="shortcut icon" href="favicon.ico">
	<link href="${basePath }/static/css/bootstrap.min.css" rel="stylesheet"/>
	<link href="${basePath }/static/css/font-awesome.min.css" rel="stylesheet"/>
	<!-- bootstrap-table 表格插件样式 -->
	<link href="${basePath }/static/ajax/libs/bootstrap-table/bootstrap-table.min.css" rel="stylesheet"/>
	<link href="${basePath }/static/css/animate.css" rel="stylesheet"/>
	<link href="${basePath }/static/css/style.css" rel="stylesheet"/>
	<link href="${basePath }/static/ruoyi/css/ry-ui.css" rel="stylesheet"/>
</head>
<body class="white-bg">
	<div class="wrapper wrapper-content animated fadeInRight ibox-content">
	<form class="form-horizontal m-t" id="signupForm">
		<div class="form-group">
			<label class="col-sm-2 control-label">ID：</label>
			<div class="form-control-static">${user.userId }</div>
		</div>
		<div class="form-group">
			<label class="col-sm-2 control-label">姓名：</label>
			<div class="form-control-static">${user.name }</div>
		</div>
		<div class="form-group">
			<label class="col-sm-2 control-label">性别：</label>
			<div class="form-control-static">
				<c:if test="${user.sex == 0}">
					男
				</c:if>
				<c:if test="${user.sex == 1}">
					女
				</c:if>
			</div>
		</div>
		<div class="form-group">
			<label class="col-sm-2 control-label">角色：</label>
			<div class="form-control-static">${user.roleName }</div>
		</div>
		<div class="form-group">
			<label class="col-sm-2 control-label">邮箱：</label>
			<div class="form-control-static">${user.email }</div>
		</div>
		<div class="form-group">
			<label class="col-sm-2 control-label">手机号码：</label>
			<div class="form-control-static">${user.phone }</div>
		</div>
		<div class="form-group">
			<label class="col-sm-2 control-label">状态：</label>
			<c:if test="${user.status == 0}">
               <span class="label label-danger">冻结</span>
			</c:if>
			<c:if test="${user.status == 1}">
               <span class="label label-success">正常</span>
			</c:if>			
		</div>
		<div class="form-group">
			<label class="col-sm-2 control-label">身份证号：</label>
			<div class="form-control-static">${user.idCard }</div>
		</div>
		<div class="form-group">
			<label class="col-sm-2 control-label">地址：</label>
			<div class="form-control-static">${user.address }</div>
		</div>
	</form>
    </div>
    
	<script src="${basePath }/static/js/jquery.min.js"></script>
	<script src="${basePath }/static/js/bootstrap.min.js"></script>
	<!-- 遮罩层 -->
	<script src="${basePath }/static/ajax/libs/blockUI/jquery.blockUI.js"></script>
    <script src="${basePath }/static/ajax/libs/iCheck/icheck.min.js"></script>
	<script src="${basePath }/static/ajax/libs/layer/layer.min.js"></script>
	<script src="${basePath }/static/ajax/libs/layui/layui.js"></script>
	<script src="${basePath }/static/ruoyi/js/common.js?v=4.0.0"></script>
	<script src="${basePath }/static/ruoyi/js/ry-ui.js?v=4.0.0"></script>
	
</body>
</html>